package com.wanmait.recruitment.pojo;

import java.io.Serializable;
import java.util.Date;

public class Education implements Serializable {
    private Integer id;

    /**
	* 所属简历id
	*/
    private Resume resume;

    /**
	* 学校
	*/
    private String school;

    /**
	* 学历id
	*/
    private Degree degree;

    /**
	* 专业
	*/
    private String professional;

    /**
	* 时间段
	*/
    private String timePeriod;

    private  String endTimePeriod;

    /**
	* 在校经历
	*/
    private String experience;

    /**
	* 添加时间
	*/
    private Date inputTime;

    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }



    public String getProfessional() {
        return professional;
    }

    public void setProfessional(String professional) {
        this.professional = professional;
    }

    public String getTimePeriod() {
        return timePeriod;
    }

    public void setTimePeriod(String timePeriod) {
        this.timePeriod = timePeriod;
    }

    public String getExperience() {
        return experience;
    }

    public void setExperience(String experience) {
        this.experience = experience;
    }

    public Date getInputTime() {
        return inputTime;
    }

    public void setInputTime(Date inputTime) {
        this.inputTime = inputTime;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public Degree getDegree() {
        return degree;
    }

    public void setDegree(Degree degree) {
        this.degree = degree;
    }

    public String getEndTimePeriod() {
        return endTimePeriod;
    }

    public void setEndTimePeriod(String endTimePeriod) {
        this.endTimePeriod = endTimePeriod;
    }

    public Resume getResume() {
        return resume;
    }

    public void setResume(Resume resume) {
        this.resume = resume;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Education{");
        sb.append("id=").append(id);
        sb.append(", resume=").append(resume);
        sb.append(", school='").append(school).append('\'');
        sb.append(", degree=").append(degree);
        sb.append(", professional='").append(professional).append('\'');
        sb.append(", timePeriod='").append(timePeriod).append('\'');
        sb.append(", endTimePeriod='").append(endTimePeriod).append('\'');
        sb.append(", experience='").append(experience).append('\'');
        sb.append(", inputTime=").append(inputTime);
        sb.append(", enable=").append(enable);
        sb.append('}');
        return sb.toString();
    }
}